package com.yunxi.model.eai;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * EAI系统log表
 * </p>
 *
 * @author 
 * @since 2019-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EaiLog对象", description="EAI系统log表")
public class EaiLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "LOG_ID", type = IdType.UUID)
    private String logId;

    @ApiModelProperty(value = "PMS发送给EAI的参数,此处存json字符串")
    @TableField("PMS_EAI_CONTENT")
    private String pmsEaiContent;

    @ApiModelProperty(value = "ESB返还给EAI的处理结果,此处存json字符串")
    @TableField("ESB_RESULT_CONTENT")
    private String esbResultContent;

    @ApiModelProperty(value = "EAI接收ESB的参数,此处存json字符串")
    @TableField("ESB_EAI_CONTENT")
    private String esbEaiContent;

    @ApiModelProperty(value = "PMS返还给EAI的处理结果,此处存json字符串")
    @TableField("PMS_RESULT_CONTENT")
    private String pmsResultContent;

    @ApiModelProperty(value = "接口名称")
    @TableField("SERVICE_NAME")
    private String serviceName;

    @ApiModelProperty(value = "系统简称")
    @TableField("SOURCE_SYSTEM")
    private String sourceSystem;

    @ApiModelProperty(value = "ID消息流水号，UUID字符串")
    @TableField("REQUEST_ID")
    private String requestId;

    @ApiModelProperty(value = "通讯类型：0实时，1异步 ")
    @TableField("TYPE")
    private Integer type;

    @ApiModelProperty(value = "处理状态:0待处理，1处理成功，2处理失败")
    @TableField("DISPOSE_STATUS")
    private Integer disposeStatus;

    @ApiModelProperty(value = "处理次数默认为0")
    @TableField("DISPOSE_COUNT")
    private Integer disposeCount;

    @ApiModelProperty(value = "系统走向描述")
    @TableField("FLOW_DESC")
    private String flowDesc;

    @ApiModelProperty(value = "请求发送时间")
    @TableField("REQUEST_SEND_TIME")
    private Date requestSendTime;

    @ApiModelProperty(value = "接口返回时间")
    @TableField("RESPONSE_RECEIVE_TIME")
    private Date responseReceiveTime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_DATE")
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_DATE")
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "EAI接收ESB的参数")
    @TableField("ESB_EAI_TEXT")
    private String esbEaiText;

    @ApiModelProperty(value = "PMS发送给EAI的参数")
    @TableField("PMS_EAI_TEXT")
    private String pmsEaiText;

    @ApiModelProperty(value = "EAI发送给ESB的URL")
    @TableField("URL")
    private String url;
}
